<?php

if ( ! defined('BASEPATH'))
    exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| COMPANIES ROUTES
| -------------------------------------------------------------------------
|
| 
|
| -------------------------------------------------------------------------
*/

// Modules
$route['companies']                          = "backend-companies/company";
$route['companies/add']                      = "backend-companies/company/add";
$route['companies/edit']                     = "backend-companies/company/edit";
$route['companies/edit/id/:num']             = "backend-companies/company/edit";
$route['companies/delete/id/:num']           = "backend-companies/company/delete";
$route['companies/preview/id/:num']          = "backend-companies/company/preview";

$route['companies/contents/:any']            = "backend-companies/company/company_datatable";

//$route['companies/delete/:any']              = "backend-companies/company/delete";
//$route['companies/delete_multiple']          = "backend-companies/company/delete_multiple";
//$route['companies/confirm_delete']           = "backend-companies/company/confirm_delete";
//$route['companies/confirm_delete/:any']      = "backend-companies/company/confirm_delete";
//$route['companies/confirm_update']           = "backend-companies/company/confirm_update_status";
//$route['companies/confirm_update/:any']      = "backend-companies/company/confirm_update_status";
//$route['companies/update_status/:any']       = "backend-companies/company/update_status";
//$route['companies/update_multiple']          = "backend-companies/company/update_multiple_statuses";
//$route['companies/more/:any']                = "backend-companies/company/more";
//$route['companies/contents/:any']            = "backend-companies/company/view_contents";
//$route['companies/:any']                     = "backend-companies/company";


// Modules API
$route['api/companies']                             = "backend-companies/company_api";
$route['api/companies/:num']                        = "backend-companies/company_api/company_by_id";

$route['api/companies/:any']                        = "backend-companies/company_api";



/* End of file routes.php */
/* Location: ./application/companies/backend-companies/config/routes.php */